Hi,
Can anyone help me with some guidance on how I can update the custom details on consecutive events being sent with the same dedup key? I had to follow through the incident timeline and click on “View message” to get the latest custom detail.
Instead it’d be better if the update is being reflected in the original event, so that it is easy for the person on-call decipher the latest and greatest update across all servers.
For example, I make a POST request to https://events.pagerduty.com/v2/enqueue with the request body
{
"routing_key": "<redacted>",
"event_action": "trigger",
"dedup_key": "Warning-mx",
"images": [],
"links": [],
"payload": {
"summary": "Test alert",
"source": "test",
"severity": "info",
"custom_details": {
"message": "Test message"
}
}
}
And, then update the payload.custom_details.message to “Test message 2”, in subsequent events, I have to follow the incident timeline to get the latest message.
Maybe I am missing something, or there is a better way of doing this using PagerDuty API?
Thanks
Vinay